﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using TMDT_Nhom1A.DAO;
using TMDT_Nhom1A.DTO;
using System.Collections.Generic;

namespace TMDT_Nhom1A.BUS
{
    public class AccountBankWebserviceBUS
    {
        public static List<AccountBankWebserviceDTO> getAccountBankWS(string bankId)
        {
            return AccountBankWebserviceDAO.getAccountBankWS(bankId);
        }

        public static bool insertAccountBankWS(AccountBankWebserviceDTO account)
        {
            return AccountBankWebserviceDAO.insertAccountBankWS(account);
        }

        public static bool updateAccountBankWS(AccountBankWebserviceDTO account)
        {
            return AccountBankWebserviceDAO.updateAccountBankWS(account);
        }

        public static bool deleteAccountBankWS(int id)
        {
            return AccountBankWebserviceDAO.deleteAccountBankWS(id);
        }
    }
}
